package com.soft.javase.ch04.duotai;

/**
 * @author wangzhisen
 * @Desc TODO
 * @date 2025/4/22
 */
public class Tiger extends Animal{

    public Tiger() {
    }

    public Tiger(String name, String color, int age) {
        super(name, color, age);
    }

    public void hunt(){
        System.out.println(this.getName()+"正在狩猎中");
    }
}
